package com.xlh.pojo.course;

import java.io.Serializable;
import java.util.Date;

public class CourseBasic implements Serializable {
    /**
     * 课程id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * 课程名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 类型 1：核心课程 2：拓展课程
     *
     * @mbg.generated
     */
    private Integer type;

    /**
     * 图标（系统配置中的id）
     *
     * @mbg.generated
     */
    private Integer icon;

    /**
     * 简介
     *
     * @mbg.generated
     */
    private String introduction;

    /**
     * 能力的id，用逗号分隔
     *
     * @mbg.generated
     */
    private String abilityIds;

    /**
     * 预置资源id
     *
     * @mbg.generated
     */
    private Long resourceId;

    /**
     * 状态 1：保存 2：共享  3：共享,用户不能被查看
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 是否预置 0：非预置  1：预置
     *
     * @mbg.generated
     */
    private Boolean preseted;

    /**
     * 是否删除 0：未删除  1：已删除
     *
     * @mbg.generated
     */
    private Boolean deleted;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 镜像加载类型 1：课程加载 2：章节加载
     */
    private Integer imageLoadType;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIcon() {
        return icon;
    }

    public void setIcon(Integer icon) {
        this.icon = icon;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getAbilityIds() {
        return abilityIds;
    }

    public void setAbilityIds(String abilityIds) {
        this.abilityIds = abilityIds;
    }

    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Boolean getPreseted() {
        return preseted;
    }

    public void setPreseted(Boolean preseted) {
        this.preseted = preseted;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getImageLoadType() {
        return imageLoadType;
    }

    public void setImageLoadType(Integer imageLoadType) {
        this.imageLoadType = imageLoadType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", type=").append(type);
        sb.append(", icon=").append(icon);
        sb.append(", introduction=").append(introduction);
        sb.append(", abilityIds=").append(abilityIds);
        sb.append(", resourceId=").append(resourceId);
        sb.append(", status=").append(status);
        sb.append(", preseted=").append(preseted);
        sb.append(", deleted=").append(deleted);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", imageLoadType=").append(imageLoadType);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}